package com.bwie.common.domain.request;

import cn.hutool.core.util.IdUtil;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @className: CouponRequest
 * @Description: TODO
 * @version: v1.８.0
 * @author: 刘茂锴
 * @date: 2025/10/13 11:15
 */
@Data
public class CouponRequest {
    private Integer pageNum=1;
    private Integer pageSize=5;

    //优惠券名称
    private String couponName;

    //优惠券类型
    private Integer couponTypeId;

    //活动品牌id
    private Integer eventBrandId;

    //商品范围id
    private Integer goodsScopeId;

    //用户名
    private String username;

    //发放开始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date distributionStartTime;

    //发放结束时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date distributionEndTime;

    //有效开始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date effectiveStartTime;
    //有效截至时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date effectiveEndTime;
}
